#include <iostream>
using namespace std;

#include "Queue.h"
#include "Stack.h"

int main()
{
	wyt::queue<int> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	
	cout << q.size() << endl;

	while(!q.empty())
	{
		cout<<q.front()<<" ";
		q.pop();
	}
	cout << endl;
	
	wyt::stack<int> st;
	st.push(1);
	st.push(2);
	st.push(3);
	st.push(4);
	st.push(5);

	while (!st.empty())
	{
		cout << st.top() << " ";
		st.pop();
	}
	cout << endl;

	return 0;
}